projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30719e6
)
(c-save-buffer-state): Bind buffer-file-name and buffer-file-truename to
author
Alan Mackenzie
<acm@muc.de>
Sat, 26 Jan 2008 19:59:10 +0000
(19:59 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Sat, 26 Jan 2008 19:59:10 +0000
(19:59 +0000)
nil, to prevent primitives generating "buffer is read only" messages.
lisp/progmodes/cc-defs.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-defs.el
b/lisp/progmodes/cc-defs.el
index 9dbd5161a84a74681193558a81f07f326bf84f60..1632d756ffc00b4c8166d861a8a4d71b8d2c8406 100644
(file)
--- a/
lisp/progmodes/cc-defs.el
+++ b/
lisp/progmodes/cc-defs.el
@@
-425,6
+425,8
@@
The return value is the value of the last form in BODY."
(inhibit-read-only t) (inhibit-point-motion-hooks t)
before-change-functions after-change-functions
deactivate-mark
+ buffer-file-name buffer-file-truename ; Prevent primitives checking
+ ; for file modification
,@varlist)
(unwind-protect
(progn ,@body)